package com.audaque.springboot.foshanupload.mongodb.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zgb
 * @desc ...
 * @date 2023-10-09 15:12:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "mongodb")
public class MongodbProperties {

    private String url;
    private String db;



}
